﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Threading;
using System.Windows.Forms;

namespace QL_KhachSan
{
    public partial class Form_Help : Form
    {
        public Form_Help()
        {
            InitializeComponent();
        }
        
        private void treeView1_AfterSelect(object sender, TreeViewEventArgs e)
        {
            if (e.Node.Text == "Phòng") webBrowser1.Navigate("C:\\Users\\BUI VAN TU\\Desktop\\qlks-mta\\BT_QuanlyKhachSan\\QL_KhachSan\\QL_KhachSan\\Help\\Phong_Xem.mht");
            if (e.Node.Text == "Xem") webBrowser1.Navigate("C:\\Users\\BUI VAN TU\\Desktop\\qlks-mta\\BT_QuanlyKhachSan\\QL_KhachSan\\QL_KhachSan\\Help\\HopDong_Xem.mht");
            if (e.Node.Text == "Thêm") webBrowser1.Navigate("C:\\Users\\BUI VAN TU\\Desktop\\qlks-mta\\BT_QuanlyKhachSan\\QL_KhachSan\\QL_KhachSan\\Help\\HopDong_Them.mht");
            if (e.Node.Text == "Xóa") webBrowser1.Navigate("C:\\Users\\BUI VAN TU\\Desktop\\qlks-mta\\BT_QuanlyKhachSan\\QL_KhachSan\\QL_KhachSan\\Help\\HopDong_Xoa.mht");
            if (e.Node.Text == "Tiền dịch vụ") webBrowser1.Navigate("C:\\Users\\BUI VAN TU\\Desktop\\qlks-mta\\BT_QuanlyKhachSan\\QL_KhachSan\\QL_KhachSan\\Help\\TienDichVu.mht");
        }

        private void Form_Help_Load(object sender, EventArgs e)
        {

        }
    }
}
